FROM mysql:8.0.22

MAINTAINER hdcloud(wangiegie@gmail.com)

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

COPY ./1schema.sql /docker-entrypoint-initdb.d

COPY ./2hdcloudx.sql /docker-entrypoint-initdb.d

COPY ./3hdcloudx_ac.sql /docker-entrypoint-initdb.d

COPY ./4hdcloudx_job.sql /docker-entrypoint-initdb.d

COPY ./5hdcloudx_mp.sql /docker-entrypoint-initdb.d

COPY ./6hdcloudx_config.sql /docker-entrypoint-initdb.d

COPY ./7hdcloudx_pay.sql /docker-entrypoint-initdb.d

COPY ./8hdcloudx_codegen.sql /docker-entrypoint-initdb.d